﻿using MapleLeaf.Pay.Trade;
using System;
using System.Globalization;
using System.Windows.Data;

namespace MapleLeaf.Client{
    public class TradePaywayConverter : IValueConverter {

        public object Convert(object value, Type targetType, object parameter, CultureInfo culture) {
            return ((TradeState)value).ToString();
        }


        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) {
            throw new NotImplementedException();
        }


        public TradePaywayConverter() { }

        static TradePaywayConverter() {
            Default = new TradePaywayConverter();
        }

        public static readonly TradePaywayConverter Default;
    }
}
